/**
* Author: fulishang
* Create Time  : 2016年4月27日,上午12:00:16
* Modify Time :
* Desc  : 
*/
package com.sam.hr.action;

import com.opensymphony.xwork2.ActionContext;
import com.sam.hr.action.base.MgrBaseAction;
import com.sam.hr.vo.EmpBean;

public class ViewEmpByIdAction extends MgrBaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	

	public String execute() {
		//创建actioncontext实例
		ActionContext ctx = ActionContext.getContext();
		//String mgrName = (String)ctx.getSession().get(WebConstant.USER);
		String empId = (String)ctx.getSession().get("empId");
		//setEmps(mgr.getEmployeesByMgr(mgrName));
		System.out.println("current id is " + empId);
		
		return SUCCESS;
	}

	
}
